package org.hiucung.lib_voice.impl

import org.json.JSONObject

/**
 * @title: OnAsrResultListener
 * @projectName OrangeAiVoiceApp
 * @description: TODO
 * @author Kicc
 * @date 2021/11/25 13:50
 */
interface OnAsrResultListener {

    fun wakeUpReady()

    fun asrStartSpeak()

    fun asrStopSpeak()

    fun wakeUpSuccess(result: JSONObject)

    fun updateUserText(text: String)

    fun asrResult(result: JSONObject)

    fun nluResult(nlu: JSONObject)

    //错误
    fun voiceError(text: String)
}